import request from '@/utils/request'

// 查询车辆导入明细列表
export function listVehiclesImportDetail(query) {
  return request({
    url: '/erecord/vehiclesImportDetail/list',
    method: 'get',
    params: query
  })
}

// 查询车辆导入明细详细
export function getVehiclesImportDetail(id) {
  return request({
    url: '/erecord/vehiclesImportDetail/' + id,
    method: 'get'
  })
}

// 新增车辆导入明细
export function addVehiclesImportDetail(data) {
  return request({
    url: '/erecord/vehiclesImportDetail',
    method: 'post',
    data: data
  })
}

// 修改车辆导入明细
export function updateVehiclesImportDetail(data) {
  return request({
    url: '/erecord/vehiclesImportDetail',
    method: 'put',
    data: data
  })
}

// 删除车辆导入明细
export function delVehiclesImportDetail(id) {
  return request({
    url: '/erecord/vehiclesImportDetail/' + id,
    method: 'delete'
  })
}
